// 昆虫类
class Insect extends Animal implements Fly{

    public Insect() {
    }

    public Insect(String animalType, int age) {
        super(animalType, age);
    }

    @Override
    public void eat(String s) {
        System.out.println(getAge() + "岁的" + getAnimalType() + "吃" + s);
    }

    @Override
    public void fly() {
        System.out.println(getAge() + "岁的" + getAnimalType() +"飞翔");
    }
}




